home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / database / who_u_kn.zip / INSTALL.BAT next >
DOS Batch File  |  1993-03-24  |  2KB  |  72 lines

  1. ECHO OFF
  2. CLS
  3. ECHO  
  4. ECHO  
  5. ECHO  
  6. ECHO   This procedure installs Who-U-Know on your C: hard drive.
  7. ECHO       It only works if copying from a floppy disk in the A: drive.
  8. ECHO       It puts a CONFIG.SYS file in your root directory (if you
  9. ECHO       already have CONFIG.SYS, it will not be changed, but check
  10. ECHO       it for minimum values of FILES=22 and BUFFERS=16).
  11. ECHO  
  12. ECHO   The procedure creates a sub-directory called \WHO, then it copies
  13. ECHO       and unpacks the Who-U-Know files to that new sub-directory.
  14. ECHO  
  15. ECHO  
  16. ECHO  
  17. ECHO   If this is NOT what you want to do, hold down the Ctrl key and
  18. ECHO       press C, and then reply Y.
  19. ECHO  
  20. ECHO  
  21. ECHO       Otherwise, to proceed with the installation:
  22. ECHO  
  23. PAUSE
  24. CLS
  25. ECHO  
  26. ECHO  
  27. ECHO  
  28. C:    
  29. CD\   
  30. IF EXIST CONFIG.SYS GOTO SKIP1
  31. ECHO   Installing new CONFIG.SYS file...
  32. ECHO  
  33. ECHO  
  34. ECHO  
  35. COPY A:CONFIG.SYS
  36. :SKIP1
  37. ECHO   Creating \WHO sub-directory...
  38. MD WHO
  39. CD WHO
  40. IF EXIST DATA.FIL GOTO ERRMSG
  41. ECHO  
  42. ECHO  
  43. ECHO   Copying to the new \WHO sub-directory...
  44. ECHO ON
  45. COPY A:WUK11.EXE
  46. WUK11
  47. ERASE WUK11.EXE
  48. ECHO OFF
  49. CLS
  50. ECHO  
  51. ECHO  
  52. ECHO  
  53. ECHO   The INSTALL is now complete.
  54. ECHO  
  55. ECHO   If a new CONFIG.SYS was needed, you will need to re-boot to make
  56. ECHO     DOS aware of it. To re-boot press Ctrl, Alt, Del together, or
  57. ECHO     turn your power switch off, and then back on.
  58. ECHO  
  59. ECHO   To start Who-U-Know, type CD \WHO and press ENTER. You should
  60. ECHO     see C:\WHO on your monitor at the DOS prompt. Next type WHO
  61. ECHO     and press ENTER to start the program.
  62. ECHO  
  63. ECHO  
  64. GOTO EOJ
  65. :ERRMSG
  66. CLS
  67. ECHO   ERROR: Do not use INSTALL if you already have Who-U-Know on
  68. ECHO          your system. Type UPGRADE to update to the new version.
  69. ECHO  
  70. :EOJ
  71. ECHO ON
  72.